package com.wyh.domain.vo.gruopfour.myVO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DepositHistoryVO {

    //时间
    @ApiModelProperty(value = "时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime optionTime;

    //保证金名称
    @ApiModelProperty(value = "保证金名称")
     private String depositName;
    //业务类型
    @ApiModelProperty(value = "业务类型，1：支付；0：退款")
    private Integer changeType;

    //变动前金额
    @ApiModelProperty(value = "变动前金额")
    private Double beforeChange;

    //变更后金额
    @ApiModelProperty(value = "变更后金额")
    private Double afterChange;

    //变动金额
    @ApiModelProperty(value = "变动金额")
    private Double changeAmount;

    //抵扣金额
    @ApiModelProperty(value = "抵扣金额")
    private Double deductionAmount;

    //退款金额
    @ApiModelProperty(value = "退款金额")
    private Double refundAmount;

}
